package com.ruoyi.customerService.service.impl;

import com.github.pagehelper.PageHelper;
import com.ruoyi.customerService.domain.CsSheetHandleQuality;
import com.ruoyi.customerService.domain.vo.CsSheetHandleQualityVo;
import com.ruoyi.customerService.mapper.CsSheetHandleQualityMapper;
import com.ruoyi.customerService.service.CsSheetHandleQualityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CsSheetHandleQualityServiceImpl implements CsSheetHandleQualityService {
    @Autowired
    private CsSheetHandleQualityMapper csSheetHandleQualityMapper;

    @Override
    public List<CsSheetHandleQuality> collect(CsSheetHandleQualityVo vo) {
        PageHelper.startPage(vo.getPageDate());
        return csSheetHandleQualityMapper.collect(vo);
    }
}
